package cn.xspace.wnx.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.RelativeLayout;

/**
 * Created by liuchen on 2016/11/3.
 */

public class InterceptRelativelayout extends RelativeLayout {
    public InterceptRelativelayout(Context context) {
        super(context);
    }

    public InterceptRelativelayout(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public InterceptRelativelayout(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        boolean inrtercepter = true;
        return inrtercepter;
    }

}
